package com.lovo.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.web.bean.UserAddressBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 地址接口
 */

@Mapper
public interface IUserAddressMapper extends BaseMapper<UserAddressBean> {


    /**
     * 根据用户id查询所有地址
     *
     * @param userName 用户id
     * @return 地址集合
     */
    public List<UserAddressBean> findAll(String userName);
}
